package com.googlecode.wannabet.domain;

import com.google.appengine.api.datastore.Entity;

public class Venue {

	private Long venueID;
	
	private String name;
	
	public static Entity getVenueEntity(Long venueID, String name) {
		Entity entity = new Entity(Venue.class.getSimpleName());
		entity.setProperty("venueID", venueID);
		entity.setProperty("name", name);
		
		return entity;
	}

	/**
	 * @return the venueID
	 */
	public Long getVenueID() {
		return venueID;
	}

	/**
	 * @param venueID the venueID to set
	 */
	public void setVenueID(Long venueID) {
		this.venueID = venueID;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	

}
